package com.xinruke.hostels.manage.user.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author GuoZheng
 * @ClassName RightsAssignDTO
 * @date：2019/6/16
 * @version: V1.0.0
 * @description：
 */
@ApiModel("角色和菜单DTO")
@Data
public class RoleAndMenusDTO {

    @ApiModelProperty("角色id")
    @NotNull(message = "角色id不能为空")
    private Integer jueseId;

    @ApiModelProperty("菜单id")
    @NotNull(message = "菜单id不能为空")
    private Integer caidanId;


    @ApiModelProperty(value = "钮集，多个按钮以“，”分割",example = "ADD,DEL" )
    private String anniulist;


}
